Workspace Notification Recipient Email |
您所在的位置:网站首页 › onlyoffice api地址 › Workspace Notification Recipient Email |
你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。 Workspace Notification Recipient Email - Create Or Update 参考 Service: API Management API Version: 2022-09-01-preview将电子邮件地址添加到通知收件人列表。 PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/notifications/{notificationName}/recipientEmails/{email}?api-version=2022-09-01-preview URI 参数 名称 在 必需 类型 说明 email path Truestring Email标识符。 notificationName path TrueNotificationName 通知名称标识符。 resourceGroupName path Truestring 资源组的名称。 此名称不区分大小写。 serviceName path Truestring API 管理服务的名称。 Regex pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$ subscriptionId path Truestring 目标订阅的 ID。 workspaceId path Truestring 工作区标识符。 在当前API 管理服务实例中必须是唯一的。 Regex pattern: ^[^*#&+:?]+$ api-version query Truestring 要用于此操作的 API 版本。 响应 名称 类型 说明 200 OKRecipientEmailContract 收件人Email已是通知列表的一部分。 201 CreatedRecipientEmailContract 收件人Email已成功添加到通知列表。 Other Status CodesErrorResponse 描述操作失败原因的错误响应。 安全性 azure_authAzure Active Directory OAuth2 流。 Type: oauth2 Flow: implicit Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize Scopes 名称 说明 user_impersonation 模拟用户帐户 示例 ApiManagementCreateWorkspaceNotificationRecipientEmail Sample Request HTTP PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/notifications/RequestPublisherNotificationMessage/recipientEmails/[email protected]?api-version=2022-09-01-preview Sample Response Status code: 201 { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/notifications/RequestPublisherNotificationMessage/recipientEmails/[email protected]", "type": "Microsoft.ApiManagement/service/workspaces/notifications/recipientEmails", "name": "[email protected]", "properties": { "email": "[email protected]" } } Status code: 200 { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/notifications/RequestPublisherNotificationMessage/recipientEmails/[email protected]", "type": "Microsoft.ApiManagement/service/workspaces/notifications/recipientEmails", "name": "[email protected]", "properties": { "email": "[email protected]" } } 定义 名称 说明 ErrorFieldContract错误字段协定。 ErrorResponse错误响应。 NotificationName通知名称标识符。 RecipientEmailContract收件人Email详细信息。 ErrorFieldContract错误字段协定。 名称 类型 说明 codestring 属性级错误代码。 messagestring 属性级错误的可读表示形式。 targetstring 属性名称。 ErrorResponse错误响应。 名称 类型 说明 error.codestring 服务定义的错误代码。 此代码用作响应中指定的 HTTP 错误代码的子状态。 error.detailsErrorFieldContract[] 在发生验证错误时,请求中发送的无效字段列表。 error.messagestring 错误的用户可读表示形式。 NotificationName通知名称标识符。 名称 类型 说明 AccountClosedPublisherstring 当开发人员关闭其帐户时,以下电子邮件收件人和用户将收到电子邮件通知。 BCCstring 以下收件人将收到发送给开发人员的所有电子邮件的盲文副本。 NewApplicationNotificationMessagestring 将新应用程序提交到应用程序库时,以下电子邮件收件人和用户将收到电子邮件通知。 NewIssuePublisherNotificationMessagestring 在开发人员门户上提交新问题或评论时,以下电子邮件收件人和用户将收到电子邮件通知。 PurchasePublisherNotificationMessagestring 以下电子邮件收件人和用户将收到有关新 API 产品订阅电子邮件通知。 QuotaLimitApproachingPublisherNotificationMessagestring 当订阅使用量接近使用配额时,以下电子邮件收件人和用户将收到电子邮件通知。 RequestPublisherNotificationMessagestring 以下电子邮件收件人和用户将收到有关需要批准的 API 产品的订阅请求电子邮件通知。 RecipientEmailContract收件人Email详细信息。 名称 类型 说明 idstring 资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} namestring 资源的名称 properties.emailstring 用户Email订阅了通知。 typestring 资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |